package VN.EDU.IMIC.DEVELOPER.TRANTHITHANHNGA.ARRAY.EX07;

public class Models {

	/**sum of all values in int matrix
	 * @param int[][]matrix
	 */

public int sum(int [][]matrix){
	int sum =0;
	for (int[] iValue: matrix){
		for(int jValue: iValue){
			sum += jValue;
		}
	}return sum;
	}
}
